package cn.janyd.jmall.management.converter.passport;

import cn.janyd.jmall.management.controller.passport.vo.AdminLoginDTO;
import cn.janyd.jmall.system.rpc.admin.dto.AdminVerifyPasswordDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author Janyd
 * @since 2020-08-15 17:42
 */
@Mapper
public interface PassportConverter {

    PassportConverter INSTANCE = Mappers.getMapper(PassportConverter.class);

    AdminVerifyPasswordDTO convert(AdminLoginDTO adminLoginDTO);
}
